class Teacher {
    constructor(id, name, course) {
        this.id = id;
        this.name = name;
        this.course = course;
    }

    teach() {
        console.log(`${this.name}正在教授${this.course}`);
    }
}